package cn.jarlen.jwt.tools.crypt.operator;

import java.io.FileInputStream;
import java.io.FileOutputStream;

public interface CryptOperator {
    byte[] sm4Encrypt(byte[] paramArrayOfbyte1, byte[] paramArrayOfbyte2);

    boolean sm4Encrypt(byte[] paramArrayOfbyte, FileInputStream paramFileInputStream, FileOutputStream paramFileOutputStream);

    byte[] sm4Decrypt(byte[] paramArrayOfbyte1, byte[] paramArrayOfbyte2);

    boolean sm4Decrypt(byte[] paramArrayOfbyte, FileInputStream paramFileInputStream, FileOutputStream paramFileOutputStream);

    byte[] hmacSM3(byte[] paramArrayOfbyte1, byte[] paramArrayOfbyte2);

    byte[] hmacSM3(byte[] paramArrayOfbyte, FileInputStream paramFileInputStream);

    byte[] sm3(byte[] paramArrayOfbyte);

    byte[] sm3(FileInputStream paramFileInputStream);
}
